home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Sep 89 / Y0070-Re[2] ID Type vs it-Sep89 < prev    next >
Encoding:
Text File  |  1989-09-21  |  821 b   |  24 lines  |  [TEXT/GEOL]

  1. Item    6887586                         21-Sept-89        15:08
  2.  
  3. From:   MOOF                            Rollin, Keith A
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Re- Re- ID Type vs item ...
  8.  
  9. >How you implement the map is up to you. There are several possible data
  10. >structures, (e.g., hash tables) but given that the number of elements in the
  11. >map will be small (i.e., < 20) a simple linear list or unordered array will
  12. >do.
  13.  
  14. I'm not positive, but I think that TAssociation would also do the trick. I've
  15. never looked into how to use this MacApp class, but it's used in MABuild to
  16. associate command line options with keyword tokens. It sounds like TAssociation
  17. could do the same thing with IDTypes and IDNumbers.
  18.  
  19. Let me know if this works.
  20.  
  21. - Keith Rollin
  22. - Apple Developer Technical Support
  23.  
  24.